package com.kantboot.system.user.balance.dao.repository;

import com.kantboot.system.user.balance.domain.entity.SysUserBalanceShow;
import org.springframework.data.jpa.repository.JpaRepository;

public interface SysUserBalanceShowRepository extends JpaRepository<SysUserBalanceShow, Long> {

    /**
     * 根据用户id和余额编码查询用户余额展示信息
     */
    SysUserBalanceShow findByUserIdAndBalanceCode(Long userId, String balanceCode);

}
